package com.example.novel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

/**
 * @TableName book
 */
@TableName(value ="book")
@Data
public class Book implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;

    private String chapters;

    private String description;

    private String coverImage;

    private String tags;

    private Integer readCount;

    private String author;
    private String authorId;

    private String publisher;

    private Date publishDate;

    private BigDecimal rating;

    private Integer tollChapter;

    private static final long serialVersionUID = 1L;
}
